<template>
  <div>
    <navComp :title="$route.meta.title" :back="$route.meta.back"></navComp>
    <div class="box">
      <div class="login_title">欢迎登录小U商城</div>
      <img class="login_logo" src="../../assets/img/logo/orange.png" />
      <van-button color="#ff6034" class="login_but" @click="register"
        >账号密码登录</van-button
      >
      <div class="login_text" @click="smsLogin">手机号短信登录</div>
    </div>
  </div>
</template>

<script>
export default {
  name: "",
  components: {},
  data() {
    return {};
  },
  created() {},
  mounted() {},
  methods: {
    register() {
        this.$router.push("/login")
    },
    smsLogin() {
        this.$router.push("/tep")
    },
  },
};
</script>
<style scoped lang="scss">
.box {
  display: flex;
  flex-direction: column;
  align-items: center;
  .login_title {
    margin-top: 200px;
    color: gray;
    font-size: 30px;
  }
  .login_logo {
    width: 231px;
    margin-top: 20px;
  }
  .login_but {
    width: 80%;
    margin-top: 20px;
  }
  .login_text{
    margin-top: 10px;
  }
}
</style>
